package com.yunban.project.annotation;

import java.lang.annotation.*;

/**
 * @author lijiajun
 * @date 2024/3/20
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD})
public @interface ServiceSwitch {
    /**
     * 关闭值
     *
     * @return int
     */
    int closeValue() default 0;

    /**
     * 提示信息
     *
     * @return string
     */
    String message() default "服务暂未开通";
}
